<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Apr-Util-1.6.1
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="apr.html" title="Apr-1.7.0">Prev</a>
          <p>
            Apr-1.7.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="aspell.html" title="Aspell-0.60.8">Next</a>
          <p>
            Aspell-0.60.8
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="apr-util" name="apr-util"></a>Apr-Util-1.6.1
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Apr Util
        </h2>
        <p>
          The Apache Portable Runtime Utility Library provides a predictable
          and consistent interface to underlying client library interfaces.
          This application programming interface assures predictable if not
          identical behaviour regardless of which libraries are available on
          a given platform.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2">https://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-util-1.6.1.tar.bz2">
                ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-util-1.6.1.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 8ff5dc36fa39a2a3db1df196d3ed6086
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 420 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 6.5 MB (add 1.4 MB for tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU (add 0.3 SBU for
                tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Apr Util Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="apr.html" title="Apr-1.7.0">Apr-1.7.0</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../server/db.html" title=
          "Berkeley DB-5.3.28">Berkeley DB-5.3.28</a>, <a class="ulink" href=
          "http://www.freetds.org/">FreeTDS</a>, <a class="xref" href=
          "../server/mariadb.html" title=
          "MariaDB-10.4.12">MariaDB-10.4.12</a> or <a class="ulink" href=
          "http://www.mysql.com/">MySQL</a>, <a class="xref" href=
          "../server/openldap.html" title=
          "OpenLDAP-2.4.49">OpenLDAP-2.4.49</a>, <a class="xref" href=
          "../server/postgresql.html" title=
          "PostgreSQL-12.2">PostgreSQL-12.2</a>, <a class="xref" href=
          "../server/sqlite.html" title="SQLite-3.31.1">SQLite-3.31.1</a> and
          <a class="xref" href="unixodbc.html" title=
          "unixODBC-2.3.7">unixODBC-2.3.7</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/apr-util">http://wiki.linuxfromscratch.org/blfs/wiki/apr-util</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Apr Util
        </h2>
        <p>
          Install <span class="application">Apr Util</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr       \
            --with-apr=/usr     \
            --with-gdbm=/usr    \
            --with-openssl=/usr \
            --with-crypto &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          test</strong></span>. One test, testdbm, is known to fail.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--with-gdbm=/usr</code></em>: This
          switch enables the <code class="filename">apr_dbm_gdbm-1.so</code>
          plugin.
        </p>
        <p>
          <em class="parameter"><code>--with-openssl=/usr
          --with-crypto</code></em>: These switches enable the <code class=
          "filename">apr_crypto_openssl-1.so</code> plugin.
        </p>
        <p>
          <code class="option">--with-berkeley-db=/usr</code>: If you have
          installed <a class="xref" href="../server/db.html" title=
          "Berkeley DB-5.3.28">Berkeley DB-5.3.28</a>, use this switch to
          compile the <code class="filename">apr_dbm_db-1.so</code> plugin.
        </p>
        <p>
          <code class="option">--with-ldap</code>: If you have installed
          <a class="xref" href="../server/openldap.html" title=
          "OpenLDAP-2.4.49">OpenLDAP-2.4.49</a>, use this switch to compile
          the <code class="filename">apr_ldap.so</code> plugin.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">apu-1-config</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libaprutil-1.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/lib/apr-util-1</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="apu-1-config" name="apu-1-config"></a><span class=
                    "term"><span class=
                    "command"><strong>apu-1-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an APR-util script designed to allow easy command line
                    access to APR-util configuration parameters.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libaprutil-1" name="libaprutil-1"></a><span class=
                    "term"><code class=
                    "filename">libaprutil-1.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions that provide a predictable and
                    consistent interface to underlying client library
                    interfaces.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-15 08:54:30 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="apr.html" title="Apr-1.7.0">Prev</a>
          <p>
            Apr-1.7.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="aspell.html" title="Aspell-0.60.8">Next</a>
          <p>
            Aspell-0.60.8
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
